<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
import('ViewModel');
class ReplyViewModel extends ViewModel{
   public $viewFields=array(
        'reply'=>array('id'=>'r_id','theme_id','content','author_id','author','mood','dateline','_as'=>'r','_type'=>'right'),
        'user'=>array('id'=>'u_id','username','name','email','gender','birth_day','phone','register_time','credits','login_time','is_online','head_img','role','_as'=>'u','_on'=>'r.author_id=u.id','_type'=>'right')
    );
}
?>
